<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path;
%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> WebSSH </title>
<!-- <link href="static/img/favicon.png" rel="icon" type="image/png"> -->
<link href="<%=basePath%>/static/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="<%=basePath%>/static/css/xterm.min.css" rel="stylesheet" type="text/css"/>
<link href="<%=basePath%>/static/css/fullscreen.min.css" rel="stylesheet" type="text/css"/>
<style>
.row {
margin-top: 20px;
margin-bottom: 10px;
}
.container {
margin-top: 20px;
}
</style>
</head>
<body>
<div class="container">
<form id="connect" action="" type="post" enctype="multipart/form-data">
<div class="row">
<div class="col">
<label for="Hostname">Hostname</label>
<input class="form-control" type="text" name="hostname" value="">
</div>
<div class="col">
<label for="Port">Port</label>
<input class="form-control" type="text" name="port" value="">
</div>
</div>
<div class="row">
<div class="col">
<label for="Username">Username</label>
<input class="form-control" type="text" name="username" value="">
</div>
<div class="col">
<label for="Password">Password</label>
<input class="form-control" type="password" name="password" placeholder="" value="">
</div>
</div>
<button type="submit" class="btn btn-primary">Connect</button>
</form>
</div>
<div class="container">
<div id="status" style="color: red;"></div>
<div id="terminal"></div>
</div>
<script src="<%=basePath%>/static/js/jquery.min.js"></script>
<script src="<%=basePath%>/static/js/popper.min.10086901.js"></script>
<script src="<%=basePath%>/static/js/bootstrap.min.js"></script>
<script src="<%=basePath%>/static/js/xterm.min.10086901.js"></script>
<script src="<%=basePath%>/static/js/fullscreen.min.js"></script>
<script src="<%=basePath%>/static/js/main10086.js"></script>
</body>
</html>